.class Lcom/waiqin365/lightapp/kehu/cl;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/cl;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/cl;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->a:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cl;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v1

    sub-int v1, p3, v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/cl;->a:Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerForVisistActivity;->back(Lcom/waiqin365/lightapp/kehu/b/am;)V

    return-void
.end method
